#include <thread>

void deadloop()
{
    while (1);
}

int main ()
{
    std::thread t1(deadloop);
    std::thread t2(deadloop);
    t1.join();
    t2.join();
    return 0;
}